home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- heroe = eval(_root.heroe);
- mapa = eval(_root.mapa);
- this.gotoAndStop("hide");
- SPEED = 2;
- vforce = 15;
- vforcei = 10;
- MAXJUMP = 60;
- currenthigh = 0;
- _Y = _Y + 1;
- xi = _X;
- yi = Math.abs(_Y - _root.mapa._y);
- DELAY = 25;
- WALKTIME = 40;
- timer = DELAY;
- hide = true;
- falling = false;
- vertical = 0;
- attack = false;
- DAMAGE = 1;
- MAXDAMAGE = 1;
- currentdamage = 0;
- hitted = false;
- flashing = false;
- hitable = false;
- FLASHTIME = 5;
- timerdamage = 0;
- myColor = new Color(this);
- myColorTransform = new Object();
- myColorTransform = {ra:"100",rb:"200",ga:"100",gb:"180",ba:"100",bb:"150",aa:"100",ab:"00"};
- myColorNormal = {ra:"100",rb:"00",ga:"100",gb:"00",ba:"100",bb:"00",aa:"100",ab:"00"};
- death = false;
- shoot = new Sound();
- shoot.attachSound("metoolshoot");
- }
-